package com.zh.core;

import java.util.HashSet;
import java.util.Set;

/**
 * Created by zhaohui on 2019/9/6
 * Description:
 */
public class SetTest {

    public static void main(String[] args) {
        Set<String> words = new HashSet<String>();
        words.add("ni");
        words.add("hao");
        words.add("world");
        for (String word : words) {
            System.out.println(word);
        }
    }

}
